﻿@using Jhong.FunMVC.Test.Model
@using Jhong.FunMVC.Razor;
<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title></title>
</head>
<body>
    <div>
    Model的:
        <br />
        ID:@Model.ID
        <br />
        Name:@Model.Name
        <br />
        Age:@Model.Age
        <br />
        Sex:@Model.Sex
        <br />
        @RazorHTMLHelper.HTML.TextBox("ID",(object)Model.Name)
    </div>
    <br /><br />
    <div>
      ViewModel的：
        @{
            var vm = @ViewData["person"] as Person ;
        }
      <br />
    ID:@vm.ID
    <br />
     Name:@vm.Name
    <br />
    Age:@vm.Age
    <br />
    Sex:@vm.Sex

    </div>
   
</body>
</html>
